#pragma once

#include "BibliothequeBRepP.h"
#include "BibliothequeLGB.h"

// CBDCreationEllipsoide dialog

class CBDCreationEllipsoide : public CDialog
{
	DECLARE_DYNAMIC(CBDCreationEllipsoide)

public:
	CBDCreationEllipsoide(CWnd* pParent = NULL);   // standard constructor
	virtual ~CBDCreationEllipsoide();
	BOOL OnInitDialog();

// Dialog Data
	enum { IDD = IDD_DIALOG_CREATION_ELLIPSOIDE };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
private:
	SolidesP	LEllipsoide ;
	bool		Debut ;
	double mXCentre;
	double mYCentre;
	double mZCentre;
	double mRayonX, mRayonY, mRayonZ ;

	void EffacerRecreerAfficherEllipsoide ();
	afx_msg void OnEnChangeEditXcentre();
	afx_msg void OnEnChangeEditYcentre();
	afx_msg void OnEnChangeEditZcentre();
	afx_msg void OnEnChangeEditRayonx();
	afx_msg void OnEnChangeEditRayony();
	afx_msg void OnEnChangeEditRayonz();
	afx_msg void OnBnClickedCancel();
private:
	// Attribut du solide
	AttributsSolides	mAS;
private:
	// Attribut pour des faces du solide
	AttributsFaces		mAF;
	afx_msg void OnBnClickedBoutonCouleur();
};
